package com.cb.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 
 * @author Administrator
 * 泛指组件，当组件不好归类时，可以使用这个注解进行标注。一般公共的方法会用上这个注解
 */
@Component
public class PropertiesUtil {

	@Value("${com.cb.name}")
    private String name;
    @Value("${com.cb.title}")
    private String title;
    
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
}